﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020004A9 RID: 1193
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class EquipAetherDividePassiveSkillCsReq : IMessage<EquipAetherDividePassiveSkillCsReq>, IMessage, IEquatable<EquipAetherDividePassiveSkillCsReq>, IDeepCloneable<EquipAetherDividePassiveSkillCsReq>, IBufferMessage
	{
		// Token: 0x17000F58 RID: 3928
		// (get) Token: 0x060035B1 RID: 13745 RVA: 0x000938F5 File Offset: 0x00091AF5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<EquipAetherDividePassiveSkillCsReq> Parser
		{
			get
			{
				return EquipAetherDividePassiveSkillCsReq._parser;
			}
		}

		// Token: 0x17000F59 RID: 3929
		// (get) Token: 0x060035B2 RID: 13746 RVA: 0x000938FC File Offset: 0x00091AFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return EquipAetherDividePassiveSkillCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000F5A RID: 3930
		// (get) Token: 0x060035B3 RID: 13747 RVA: 0x0009390E File Offset: 0x00091B0E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return EquipAetherDividePassiveSkillCsReq.Descriptor;
			}
		}

		// Token: 0x060035B4 RID: 13748 RVA: 0x00093915 File Offset: 0x00091B15
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EquipAetherDividePassiveSkillCsReq()
		{
		}

		// Token: 0x060035B5 RID: 13749 RVA: 0x0009391D File Offset: 0x00091B1D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EquipAetherDividePassiveSkillCsReq(EquipAetherDividePassiveSkillCsReq other) : this()
		{
			this.avatarId_ = other.avatarId_;
			this.itemId_ = other.itemId_;
			this.slot_ = other.slot_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060035B6 RID: 13750 RVA: 0x0009395A File Offset: 0x00091B5A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EquipAetherDividePassiveSkillCsReq Clone()
		{
			return new EquipAetherDividePassiveSkillCsReq(this);
		}

		// Token: 0x17000F5B RID: 3931
		// (get) Token: 0x060035B7 RID: 13751 RVA: 0x00093962 File Offset: 0x00091B62
		// (set) Token: 0x060035B8 RID: 13752 RVA: 0x0009396A File Offset: 0x00091B6A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint AvatarId
		{
			get
			{
				return this.avatarId_;
			}
			set
			{
				this.avatarId_ = value;
			}
		}

		// Token: 0x17000F5C RID: 3932
		// (get) Token: 0x060035B9 RID: 13753 RVA: 0x00093973 File Offset: 0x00091B73
		// (set) Token: 0x060035BA RID: 13754 RVA: 0x0009397B File Offset: 0x00091B7B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ItemId
		{
			get
			{
				return this.itemId_;
			}
			set
			{
				this.itemId_ = value;
			}
		}

		// Token: 0x17000F5D RID: 3933
		// (get) Token: 0x060035BB RID: 13755 RVA: 0x00093984 File Offset: 0x00091B84
		// (set) Token: 0x060035BC RID: 13756 RVA: 0x0009398C File Offset: 0x00091B8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Slot
		{
			get
			{
				return this.slot_;
			}
			set
			{
				this.slot_ = value;
			}
		}

		// Token: 0x060035BD RID: 13757 RVA: 0x00093995 File Offset: 0x00091B95
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as EquipAetherDividePassiveSkillCsReq);
		}

		// Token: 0x060035BE RID: 13758 RVA: 0x000939A4 File Offset: 0x00091BA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(EquipAetherDividePassiveSkillCsReq other)
		{
			return other != null && (other == this || (this.AvatarId == other.AvatarId && this.ItemId == other.ItemId && this.Slot == other.Slot && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060035BF RID: 13759 RVA: 0x00093A00 File Offset: 0x00091C00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.AvatarId != 0U)
			{
				num ^= this.AvatarId.GetHashCode();
			}
			if (this.ItemId != 0U)
			{
				num ^= this.ItemId.GetHashCode();
			}
			if (this.Slot != 0U)
			{
				num ^= this.Slot.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060035C0 RID: 13760 RVA: 0x00093A71 File Offset: 0x00091C71
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060035C1 RID: 13761 RVA: 0x00093A79 File Offset: 0x00091C79
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060035C2 RID: 13762 RVA: 0x00093A84 File Offset: 0x00091C84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.AvatarId != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.AvatarId);
			}
			if (this.ItemId != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.ItemId);
			}
			if (this.Slot != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.Slot);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060035C3 RID: 13763 RVA: 0x00093AF8 File Offset: 0x00091CF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.AvatarId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.AvatarId);
			}
			if (this.ItemId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ItemId);
			}
			if (this.Slot != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Slot);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060035C4 RID: 13764 RVA: 0x00093B68 File Offset: 0x00091D68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(EquipAetherDividePassiveSkillCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.AvatarId != 0U)
			{
				this.AvatarId = other.AvatarId;
			}
			if (other.ItemId != 0U)
			{
				this.ItemId = other.ItemId;
			}
			if (other.Slot != 0U)
			{
				this.Slot = other.Slot;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060035C5 RID: 13765 RVA: 0x00093BCC File Offset: 0x00091DCC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060035C6 RID: 13766 RVA: 0x00093BD8 File Offset: 0x00091DD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					if (num != 24U)
					{
						if (num != 96U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.Slot = input.ReadUInt32();
						}
					}
					else
					{
						this.ItemId = input.ReadUInt32();
					}
				}
				else
				{
					this.AvatarId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400150E RID: 5390
		private static readonly MessageParser<EquipAetherDividePassiveSkillCsReq> _parser = new MessageParser<EquipAetherDividePassiveSkillCsReq>(() => new EquipAetherDividePassiveSkillCsReq());

		// Token: 0x0400150F RID: 5391
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001510 RID: 5392
		public const int AvatarIdFieldNumber = 1;

		// Token: 0x04001511 RID: 5393
		private uint avatarId_;

		// Token: 0x04001512 RID: 5394
		public const int ItemIdFieldNumber = 3;

		// Token: 0x04001513 RID: 5395
		private uint itemId_;

		// Token: 0x04001514 RID: 5396
		public const int SlotFieldNumber = 12;

		// Token: 0x04001515 RID: 5397
		private uint slot_;
	}
}
